﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="pass.aspx.cs" Inherits="pass" Title="Thoitrang.com-quen mat ma" %>
<%@ Register Src="~/UserControls/ucMenuLeft.ascx" TagName="MenuLeft" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/Advertising.ascx" TagName="Advertising" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentCss" Runat="Server">
    <link href="css/pass.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentFooter" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMenu" Runat="Server">
    <%--<uc:MenuLeft ID="menuLeft" GroupId="1" MainId="0" SubId="0" runat="server" />--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentMain" Runat="Server">
                <div class="pass-wrap">
					<h3><img src="images/password-hp.gif" alt="thoi trang" width="400" height="40" /></h3>
					<!--Pass-->
					<div class="pass">
						<hr />
						
						<div class="simple">
							<div class="group">								
								<div id="divEmail" runat="server">	
								    <div id="errorMsg" runat="server"></div>
									<label for="txtEmail">Email của bạn:</label>
									<%--<input id="txtEmail" runat="server" class="email_input" name="emailcuaban" type="text" />
									<asp:Button CssClass="submitbutton" ID="btnSubmit" runat="server" Text="GỬI MAIL" />--%>
									<input id="txtEmail" class="email_input" name="emailcuaban" type="text" />
									<input class="submitbutton" name="commit" type="submit" value="Gửi Email" />
									<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
								</div>
								<div id="divMsg" style="padding-bottom:20px;" runat="server" visible="false">
								    <p class="thongbao">Thông tin đăng nhập của bạn đã được gởi tới địa chỉ <%=Request["emailcuaban"]%></p>
									<p class="trolai"><a href="login.aspx?ckid=<%=SessionManager.GetCookie()%>&<%=refUrl%>"><img alt='' src="images/btn_continue.gif" border="0"/></a></p>
								    <%--<img src='images/ico_alert.gif' alt='' width='20' height='20' border='0'/>
								    <label class="Message">Thông tin đăng nhập của bạn đã được gởi tới địa chỉ <%=Request["emailcuaban"]%></label>
						
								    <p style="clear:both; float:right; padding:10px;"><a href="login.aspx?ckid=<%=SessionManager.GetCookie()%>&<%=refUrl%>"><img alt='' src="images/btn_continue.gif" border="0"/></a></p>--%>
								</div>
								<hr />
							</div>
						</div>
						
					</div>
					<!--//pass-->
				</div>
<script type="text/javascript" language="javascript">
//    function CheckEmail()
//    {
//        var email = document.getElementById("txtEmail");
//	    var isOk =  isEmail(email.value);
//	    if(!isOk)
//        {
//            var msg = document.getElementById('errorMsg');
//            msg.innerHTML = 'Xin nhap lai email';
//        }
//        return isOk;
//    }
//    
//    function isEmail(s) {
//	    var regularEmail = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
//	    return s.match(regularEmail);
//    }
</script>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentLeft" Runat="Server">
    <%--<uc:Advertising ID="Advertising1" runat="server" />--%>
</asp:Content>


